delete obsolete slot. (#1381)
authortsteven4 <13596209+tsteven4@users.noreply.github.com>
Wed, 13 Nov 2024 18:47:03 +0000 (11:47 -0700)
committerGitHub <noreply@github.com>
Wed, 13 Nov 2024 18:47:03 +0000 (11:47 -0700)
this should have been deleted in #681
(8bfb2c52f2731b0a01ebfe6d840fb9d19ba6f51c)

gui/mainwindow.cc
gui/mainwindow.h

index 054169a4cffd8a5b1dcefb505193c61d4a75d733..e1b0ad734a376179072cb0152ad44a8f87b29b21 100644 (file)
@@ -241,16 +241,6 @@ MainWindow::MainWindow(QWidget* parent): QMainWindow(parent)
   }
 }
 
-//------------------------------------------------------------------------
-// Called every time, when a menu entry of the language menu is called
-void MainWindow::slotLanguageChanged(QAction* action)
-{
-  if (nullptr != action) {
-    // load the language dependant on the action content.
-    loadLanguage(action->data().toString());
-  }
-}
-
 void MainWindow::switchTranslator(QTranslator& translator, const QString& filename)
 {
   // remove the old translator
index 641955577043ab17b9b37a85866821bb019408e9..c4e724204bebf1b380023ecfa38adae40b7f6cbd 100644 (file)
@@ -137,7 +137,6 @@ private slots:
   void visitWebsiteActionX();
   void resetFormatDefaults();
   void upgradeCheckActionX();
-  void slotLanguageChanged(QAction* action);
 
 
 };